/**
 * 
 */
package com.base.myproject.client.ui;

import com.extjs.gxt.ui.client.widget.ContentPanel;

/**
 * @author zgw
 *2009-9-27 上午06:48:06
 * javazgw@gmail.com
 * 主界面的panel，主要用于控制高度和宽度
 * 通过设置BaseMainPanel.getInstance().setHeight("960"); 改变 高度
 */
public class BaseMainPanel extends ContentPanel{
	
	static BaseMainPanel basemainpanel;
	private  BaseMainPanel(){
		
	}
	public static BaseMainPanel getInstance()
	{
		if(basemainpanel==null)
		{
			basemainpanel = new BaseMainPanel();
			basemainpanel.setBodyBorder(false);
			basemainpanel.setBorders(false);
			basemainpanel.setStyleAttribute("background", "url(gwtbase/images/default/toolbar/page_bg2.jpg) repeat scroll center top");
		}
		//basemainpanel.setHeight("700");
		return basemainpanel;
	}
	
}
